import React from 'react'
import {HashRouter as Router,Route,Switch} from 'react-router-dom'
import Home from './Home.jsx'
import About from './About.jsx'
import Header from './header.jsx'

function App(){
	return (
		<div className="container">
			<Router>
				<Header />
				<Switch>
					<Route path='/' exact component={Home} />
					<Route path='/about' component={About} />
				</Switch>
			</Router>
		</div>
	)
}

export default App